package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.UserGoodsAttachmentDownloadTask;
import com.ecoolex.ying.space.entity.UserGoodsAttachmentDownloadTaskExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface UserGoodsAttachmentDownloadTaskMapper {
    long countByExample(UserGoodsAttachmentDownloadTaskExample example);

    int deleteByExample(UserGoodsAttachmentDownloadTaskExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserGoodsAttachmentDownloadTask record);

    int insertSelective(@Param("record") UserGoodsAttachmentDownloadTask record, @Param("selective") UserGoodsAttachmentDownloadTask.Column ... selective);

    UserGoodsAttachmentDownloadTask selectOneByExample(UserGoodsAttachmentDownloadTaskExample example);

    UserGoodsAttachmentDownloadTask selectOneByExampleWithBLOBs(UserGoodsAttachmentDownloadTaskExample example);

    List<UserGoodsAttachmentDownloadTask> selectByExampleWithBLOBs(UserGoodsAttachmentDownloadTaskExample example);

    List<UserGoodsAttachmentDownloadTask> selectByExample(UserGoodsAttachmentDownloadTaskExample example);

    UserGoodsAttachmentDownloadTask selectByPrimaryKey(Integer id);

    UserGoodsAttachmentDownloadTask selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") UserGoodsAttachmentDownloadTask record, @Param("example") UserGoodsAttachmentDownloadTaskExample example, @Param("selective") UserGoodsAttachmentDownloadTask.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") UserGoodsAttachmentDownloadTask record, @Param("example") UserGoodsAttachmentDownloadTaskExample example);

    int updateByExample(@Param("record") UserGoodsAttachmentDownloadTask record, @Param("example") UserGoodsAttachmentDownloadTaskExample example);

    int updateByPrimaryKeySelective(@Param("record") UserGoodsAttachmentDownloadTask record, @Param("selective") UserGoodsAttachmentDownloadTask.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(UserGoodsAttachmentDownloadTask record);

    int updateByPrimaryKey(UserGoodsAttachmentDownloadTask record);

    int batchInsert(@Param("list") List<UserGoodsAttachmentDownloadTask> list);

    int batchInsertSelective(@Param("list") List<UserGoodsAttachmentDownloadTask> list, @Param("selective") UserGoodsAttachmentDownloadTask.Column ... selective);

    int logicalDeleteByExample(@Param("example") UserGoodsAttachmentDownloadTaskExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}